<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var money = prompt(`班长大气，拿来把你，看看有多少钱：`);
        if (money >= 2000) {
            alert(`班长大气，请大家吃西餐!`);
        }
        else if (1500<= money && money <2000) {
           alert(`快餐，就这？`);
        }
        else if (1000<=money && money<1500) {
            alert(`一杯饮料就想把大家打发了？？？`);
        }
        else if (500<=money && money<1000) {
            alert(`棒棒糖？？？？？`);
        }
        else {
            alert(`麻烦下次钱没带够别出门。`);
        }
    </script>
</head>
<body>
    
</body>
</html>